package com.huanqiu.mylib.util;

import android.os.Handler;
import android.os.Looper;

public final class ThreadUtil {

    private static final Handler sHandler = new Handler(Looper.getMainLooper());

    public static boolean post(Runnable r) {
        return sHandler.post(r);
    }

    public static boolean postDelayed(Runnable r, long delayMillis) {
        return sHandler.postDelayed(r, delayMillis);
    }

}
